package com.vol.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (sys_menu)实体类
 *
 * @author kancy
 * @since 2024-08-01 14:03:22
 * @description 由 Mybatisplus Code Generator 创建
 */
@Accessors(chain = true)
@TableName("sys_menu")
public class SysMenu extends Model<SysMenu> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * menuId
     */
    @TableId(type = IdType.AUTO)
	private Integer menuId;
    /**
     * menuname
     */
    private String menuname;
    /**
     * auth
     */
    private String auth;
    /**
     * icon
     */
    private String icon;
    /**
     * description
     */
    private String description;
    /**
     * enable
     */
    private Integer enable;
    /**
     * orderno
     */
    private Integer orderno;
    /**
     * tablename
     */
    private String tablename;
    /**
     * parentid
     */
    private Integer parentid;
    /**
     * url
     */
    private String url;
    /**
     * createdate
     */
    private Date createdate;
    /**
     * creator
     */
    private String creator;
    /**
     * modifydate
     */
    private Date modifydate;
    /**
     * modifier
     */
    private String modifier;
    /**
     * menutype
     */
    private Integer menutype;


    @TableField(exist = false)
    private String authvalue;

    @JsonProperty("authvalue")
    public String getAuthvalue() {
        return authvalue;
    }

    public void setAuthvalue(String authvalue) {
        this.authvalue = authvalue;
    }




    //setter

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public void setMenuname(String menuname) {
        this.menuname = menuname;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setMenutype(Integer menutype) {
        this.menutype = menutype;
    }


    //getter

    @JsonProperty("menu_Id")
    public Integer getMenuId() {
        return menuId;
    }
    @JsonProperty("menuName")
    public String getMenuname() {
        return menuname;
    }
    @JsonProperty("auth")
    public String getAuth() {
        return auth;
    }
    @JsonProperty("icon")
    public String getIcon() {
        return icon;
    }
    @JsonProperty("description")
    public String getDescription() {
        return description;
    }
    @JsonProperty("enable")
    public Integer getEnable() {
        return enable;
    }
    @JsonProperty("orderNo")
    public Integer getOrderno() {
        return orderno;
    }
    @JsonProperty("tableName")
    public String getTablename() {
        return tablename;
    }
    @JsonProperty("parentId")
    public Integer getParentid() {
        return parentid;
    }
    @JsonProperty("url")
    public String getUrl() {
        return url;
    }
    @JsonProperty("createDate")
    public Date getCreatedate() {
        return createdate;
    }
    @JsonProperty("creator")
    public String getCreator() {
        return creator;
    }
    @JsonProperty("modifyDate")
    public Date getModifydate() {
        return modifydate;
    }
    @JsonProperty("modifier")
    public String getModifier() {
        return modifier;
    }
    @JsonProperty("menuType")
    public Integer getMenutype() {
        return menutype;
    }
}